#!/bin/bash

java -jar dist/gidooXMLDB.jar --create --db XMLTest
java -jar dist/gidooXMLDB.jar --db XMLTest --import test.xml --name test.xml
java -jar dist/gidooXMLDB.jar --db XMLTest --exec "select predecbyname(c.id, 'svg') as parentid from contents c where c.id=43"
#java -jar dist/gidooXMLDB.jar --db XMLTest --exec "select p.* from table(PREDEC(43)) p order by p.leveldist ASC"
